<template>
    <div class="home">
        <h2>Home - Home -home</h2>
        <p>.vue 单文件组件</p>
        <hr>
        <Demo/>
    </div>
</template>

<script>
import Demo from '../components/Demo.vue'
export default {
    data(){
        return{
            count:1000
        }
    },
    components:{
        Demo
    }
}
</script>

<style lang="scss">
.home{
    border: 1px solid plum;
    p{
        font-size: 20px;
        color: darkgoldenrod;
    }
}
</style>